package com.example.ibsp_demo.pojo.entity.content;

import java.time.LocalDateTime;

public class ContentHotRank {
    private Integer chid;
    private Integer ctid;
    private double hotScore; // 得分
    private double statPeriod; // 统计周期（24小时 ， 一周 等）
    private LocalDateTime updateTime;

    @Override
    public String toString() {
        return "ContentHotRank{" +
                "chid=" + chid +
                ", ctid=" + ctid +
                ", hotScore=" + hotScore +
                ", statPeriod=" + statPeriod +
                ", updateTime=" + updateTime +
                '}';
    }



    public Integer getCtid() {
        return ctid;
    }

    public void setCtid(Integer ctid) {
        this.ctid = ctid;
    }

    public double getHotScore() {
        return hotScore;
    }

    public void setHotScore(double hotScore) {
        this.hotScore = hotScore;
    }

    public double getStatPeriod() {
        return statPeriod;
    }

    public void setStatPeriod(double statPeriod) {
        this.statPeriod = statPeriod;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public ContentHotRank() {
    }

    public ContentHotRank(Integer chid, Integer ctid, double hotScore, double statPeriod, LocalDateTime updateTime) {
        this.chid = chid;
        this.ctid = ctid;
        this.hotScore = hotScore;
        this.statPeriod = statPeriod;
        this.updateTime = updateTime;
    }

    public Integer getChid() {
        return chid;
    }

    public void setChid(Integer chid) {
        this.chid = chid;
    }
}
